import * as service from "@/service"

const prefix = "/static"

// 查询结算列表
export function getSettlementList(data) {
    return service.fetch.post({
        url: `${prefix}/getSettlementList.json`,
        data
    })
}

// 新增结算
export function createSettlement(data) {
    return service.fetch.post({
        url: `${prefix}/createSettlement.json`,
        data
    })
}

// 修改结算
export function updateSettlement(data) {
    return service.fetch.post({
        url: `${prefix}/updateSettlement.json`,
        data
    })
}

// 删除结算
export function deleteSettlements(data) {
    return service.fetch.post({
        url: `${prefix}/deleteSettlement.json`,
        data
    })
}
